#include<iostream>
using namespace std;

int main()
{
	int i1 = 1;
	int i2 = 2;
	int *p=&i1;
	int **pp=&p;
	cout<<&i1<<endl;
	cout<<*&p<<endl;
	cout<<p<<endl;
    cout<<**pp<<endl;
//	printf("i1=%d, i2=%d\n",i1,i2);
//	printf("&i1=%d,&i2=%d\n",&i1,&i2);
//	int * p1 = &i1;
//	int * p2 = &i2;
//	printf("p1=%d,p2=%d\n",p1,p2);
//	printf("*p1=%d,*p2=%d\n",*p1,*p2);
//	int temp;
//	temp = *p1;
//	*p1=*p2;
//	*p2=temp;
//	printf("i1=%d, i2=%d\n",i1,i2);
}
